.pg
{
    position: relative;
    width: 120px;
    height: 80px;
    background: #000;
}
.pg li
{
    position: relative;
    list-style: none;
    overflow: hidden;
    float: left;
    z-index: 2;
    opacity: .3;
}
.pg li.active
{
    opacity: 1;
}
.pg li.selected
{
    opacity: 1;
    z-index: 99;
    -moz-box-shadow: 0px 0px 10px #fff;
    -webkit-box-shadow: 0px 0px 10px #fff;
}
.pg li img
{
    display: block;
    width: 100%;
}
.pg li p
{
    color: white;
    margin: 5px 0;
    font-size: 12px;
}
